encoding/json/v2.SemanticError.action (field)
11 uses
encoding/json/v2 (current package)
arshal.go#L449: return &SemanticError{action: "unmarshal", GoType: reflect.TypeOf(out), Err: internal.ErrNonNilReference}
errors.go#L80: action string // either "marshal" or "unmarshal"
errors.go#L127: return &SemanticError{action: "marshal", GoType: t, Err: toUnexpectedEOF(err),
errors.go#L143: return &SemanticError{action: "unmarshal", GoType: t, Err: toUnexpectedEOF(err),
errors.go#L175: return &SemanticError{action: "unmarshal", GoType: t, Err: toUnexpectedEOF(err),
errors.go#L232: serr.action = cmp.Or(serr.action, "marshal")
errors.go#L238: serr.action = cmp.Or(serr.action, "unmarshal")
errors.go#L342: switch e.action {
errors.go#L369: if e.action == "" {